package com.module.admin.app.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.module.admin.app.pojo.AppPrj;
import com.system.comm.model.KvEntity;

/**
 * app_prj的Dao
 * @author admin
 * @date 2020-12-27 20:12:45
 * @version V1.0.0
 */
public interface AppPrjDao {

	/**
	 * 保存
	 * @param appPrj
	 */
	public abstract void save(AppPrj appPrj);
	/**
	 * 修改
	 * @param appPrj
	 */
	public abstract void update(AppPrj appPrj);
	/**
	 * 根据aiId删除对象
	 * @param aiId
	 * @param prjId 
	 */
	public abstract void delete(@Param("aiId")String aiId, @Param("prjId")Integer prjId);
	/**
	 * 根据aiId获取对象
	 * @param aiId
	 * @param prjId 
	 * @return
	 */
	public abstract AppPrj get(@Param("aiId")String aiId, @Param("prjId")Integer prjId);

	/**
	 * 根据条件获取列表
	 * @param appPrj
	 * @return
	 */
	public abstract List<AppPrj> findAppPrj(AppPrj appPrj);
	/**
	 * 根据条件获取总记录数
	 * @param appPrj
	 * @return
	 */
	public abstract int findAppPrjCount(AppPrj appPrj);
	public abstract List<KvEntity> findSearch(@Param("searchString")String searchString, @Param("aiId")String aiId);
}